package org.neuedu.chapter04_0617;

public class ArrayDemo06 {
    public static void main(String[] args) {
        int[] arr = {1, 2, 3, 4};
        System.out.println(arr[0]);

        arr = null;
        // java.lang.NullPointerException 空指针
        System.out.println(arr[0]);
    }
}
